keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

Card doesn't wok - DAHDI hook failed returned -1

13 years 6 months ago #6305 by chapeti
I have the same problem as Richard.

Apparently have updated the code in the file "opvx-bristuff-0.4.0-RC3h.tar.gz" on 15/10 and corrected several problems. (About the size of the PDU, the "include stdllib.h", etc.).

I downloaded the new version compiles without problems but I have the same problem as Richard:

CHAPETI * CLI> module load chan_dahdi.so
[October 18 18:31:07] WARNING [4174]: chan_dahdi.c: 1312 dahdi_open: Unable to Specify channel 2: Device or resource busy
[October 18 18:31:07] ERROR [4174]: chan_dahdi.c: 8053 mkintf: Unable to September buffer channel info on '2 ': Bad file descriptor
[October 18 18:31:07] ERROR [4174]: chan_dahdi.c: build_channels 12921: Unable to register channel '1 '
CHAPETI * CLI>
13 years 6 months ago #6306 by svolta
Hi,
Please show me your configure files, eg: /etc/zaptel.conf /etc/asterisk/zapata.conf
13 years 6 months ago #6308 by ricardo
Hi!

we have also a HFC-Pci Card, but it is disabled. And only 2 SIM-Cards (Slot 1 and 2, Slot 3 and 4 is empty) in the openvox g400p.
/etc/zaptel.conf:
loadzone        =nl
defaultzone     =nl

alaw            =1,3#,5,7
span            =1,1,3,ccs,ami
span            =2,2,3,ccs,ami
#span           =3,3,3,ccs,ami
#span           =4,4,3,ccs,ami

bchan=1,3#,5,7
dchan=2,4#,6,8

#span=5,1,3,ccs,ami
#span=6,1,3,ccs,ami
#span=7,1,3,ccs,ami
#span=8,1,3,ccs,ami
#bchan=9-10
#dchan=11
#bchan=12-13
#dchan=14
#bchan=15-16
#dchan=17
#bchan=18-19
#dchan=20
/etc/asterisk/zapata.conf
[channels]
;GSM
txgain          = 0.0
rxgain          = 0.0
signalling      = gsm
context         = from-gsm
echocancel      = no
relaxdtmf       = yes

group = 1

; slot A
channel => 1
; slot B
channel=> 3
; slot C
;channel =>5
; slot D
;channel => 7


;QuadBri
;language                = de
;switchtype              = euroisdn
;pridialplan             = local
;prilocaldialplan        = dynamic
;nationalprefix          = 0
;internationalprefix     = 00
;overlapdial             = yes
;immediate               = no
;callprogress            = no
;busydetect              = no
;callwaiting             = yes
;musiconhold             = default
;faxdetect               = both

;signalling = pri_cpe
;context = s2m-incoming
;group = 2
;channel => 9-20
And one installation error I solved like this way : http://bbs.openvox.cn/viewthread.php?action=printable& ;tid=1401 (I think chapeti (second post)) had the same error ...

Thanks

i] Last edited by ricardo at 2010-10-19 14:17 [/i
13 years 6 months ago #6310 by svolta
Hi,
what's the OS version you are using? Did you see any error or warnning when you installed the drivers?
13 years 6 months ago #6311 by ricardo
We are using Debian Lenny ( Kernel 2.6.26-2-amd64 ). In /etc/modules we load :
opvxg4xx
qozap
And both use zaptel, which is loaded by them.
13 years 6 months ago #6312 by svolta
Hi,
Your system kernel is too new for install the bristuff drivers. Here are 3 ways to solve the problem:
1.Give me your Email, I will send you a version of bristuff which was modified for the new kernel.
2.Use the dahdi drivers to install G400P, you can refer http://www.chan-extra.org/index.php/OpenVox_G400P_User_Manual_for_dahdi
3.Changge you OS.
Time to create page: 0.040 seconds
Powered by Kunena Forum